import request from '@/utils/request';
/**
 * 获取所有的咨询
 */
export const Allguidances = () =>{
  return request({
    url:'/Guidances/all',
    method:'GET'
  })
}
/*
  用户咨询
*/
export const Guidances = (data) =>{
    return request({
      url: '/Guidances/add',
      method: 'POST',
      data
    })
  }
/**
 * 获取所有的评价
 */
export const Allassess = () =>{
  return request({
    url:'/Assess/allAssess',
    method:'GET'
  })
}
/*
  对评价进行回复
*/
export const Assess = (data) =>{
  return request({
    url: '/Assess/reply',
    method: 'POST',
    data
  })
}